package com.sita.linboard;

import android.app.Activity;
import android.os.Bundle;
import android.os.CountDownTimer;

import com.sita.linboard.MainMessage.MainActivity;
import com.sita.linboard.login.DriverLoginActivity;

/**
 * Created by Jason on 2016/9/22.
 */
public class WelcomeActivity extends Activity {
    private CountDownTimer timer = new CountDownTimer(3000,1000) {
        @Override
        public void onTick(long millisUntilFinished) {
        }

        @Override
        public void onFinish() {
            MainActivity.getMainIntent(WelcomeActivity.this);
        }
    };
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        timer.start();


    }
}
